home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Games / Solitaire / Sources / Klondike / GamePileDelegate.h < prev    next >
Text File  |  1994-01-11  |  1KB  |  35 lines

  1. /* indent:4  tabsize:8  font:fixed-width */
  2.  
  3. /*---------------------------------------------------------------------------
  4. | ---------------------------------------------------------------------------
  5. |
  6. |    GamePileDelegate :Object
  7. |
  8. |    << Description >>
  9. |
  10. | ---------------------------------------------------------------------------
  11. \---------------------------------------------------------------------------*/
  12.  
  13. #import <appkit/appkit.h>
  14. #import "../Solitaire/CardSet.subproj/cardset.h"
  15.  
  16.  
  17. @interface GamePileDelegate:Object
  18. {
  19.     id suitCardPileViews[4];
  20. }
  21.  
  22. /*----------------------------------------------------------------------------
  23. |
  24. |    CardPileView delegation methods
  25. |
  26. \---------------------------------------------------------------------------*/
  27.  
  28. - setSuitCardPileViews:(id [])theViews;
  29. - clickedCard:aCard in:aCardPileView;
  30. - doubleClickedCard:aCard in:aCardPileView;
  31. - (BOOL)draggedPile:aCardPile from:discardCardPileView;
  32. - (BOOL)canAcceptPile:aCardPile from:sender in:aCardPileView;
  33. - getOffset:(float *)xOffset :(float *)yOffset forSize:(CardSize)aSize;
  34.  
  35. @end